From a0dc91168bb76cca507a6d754f274b9f5dc3c8cf Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sat, 22 Apr 2006 18:27:29 +0000 Subject: [PATCH] Set double quote as enclosing character by default. Regenerate reference data. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1940 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/reference/unicsv.gpx | 54 +++++++++++++++++------------------ gpsbabel/unicsv.c | 4 +-- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/gpsbabel/reference/unicsv.gpx b/gpsbabel/reference/unicsv.gpx index b52cbe77e..08f4ffedf 100644 --- a/gpsbabel/reference/unicsv.gpx +++ b/gpsbabel/reference/unicsv.gpx @@ -8,48 +8,48 @@ xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/ - "GCEBB" - "Mountain Bike Heaven by susy1313" - "Mountain Bike Heaven by susy1313" + GCEBB + Mountain Bike Heaven by susy1313 + Mountain Bike Heaven by susy1313 - "GC1A37" - "The Troll by a182pilot & Family" - "The Troll by a182pilot & Family" + GC1A37 + The Troll by a182pilot & Family + The Troll by a182pilot & Family - "GC1C2B" - "Dive Bomber by JoGPS & family" - "Dive Bomber by JoGPS & family" + GC1C2B + Dive Bomber by JoGPS & family + Dive Bomber by JoGPS & family - "GC25A9" - "FOSTER by JoGPS & Family" - "FOSTER by JoGPS & Family" + GC25A9 + FOSTER by JoGPS & Family + FOSTER by JoGPS & Family - "GC2723" - "Logan Lighthouse by JoGps & Family" - "Logan Lighthouse by JoGps & Family" + GC2723 + Logan Lighthouse by JoGps & Family + Logan Lighthouse by JoGps & Family - "GC2B71" - "Ganier Cache by Susy1313" - "Ganier Cache by Susy1313" + GC2B71 + Ganier Cache by Susy1313 + Ganier Cache by Susy1313 - "GC309F" - "Shy's Hill by FireFighterEng33" - "Shy's Hill by FireFighterEng33" + GC309F + Shy's Hill by FireFighterEng33 + Shy's Hill by FireFighterEng33 - "GC317A" - "GittyUp by JoGPS / Warner Parks" - "GittyUp by JoGPS / Warner Parks" + GC317A + GittyUp by JoGPS / Warner Parks + GittyUp by JoGPS / Warner Parks - "GC317D" - "Inlighting by JoGPS / Warner Parks" - "Inlighting by JoGPS / Warner Parks" + GC317D + Inlighting by JoGPS / Warner Parks + Inlighting by JoGPS / Warner Parks diff --git a/gpsbabel/unicsv.c b/gpsbabel/unicsv.c index eb09a7486..46220691a 100644 --- a/gpsbabel/unicsv.c +++ b/gpsbabel/unicsv.c @@ -167,12 +167,12 @@ unicsv_parse_one_line(char *ibuf) double utme; double utmn; - s = csv_lineparse(ibuf, unicsv_fieldsep, "", 0); + s = csv_lineparse(ibuf, unicsv_fieldsep, "\"", 0); if (s == NULL) return; wpt = waypt_new(); - for (i=0; s; i++, s = csv_lineparse(NULL, unicsv_fieldsep, "", 0)) { + for (i=0; s; i++, s = csv_lineparse(NULL, unicsv_fieldsep, "\"", 0)) { if (i == unicsv_fieldpos.latcol) { human_to_dec( s, &wpt->latitude, &wpt->longitude, 1 ); } -- 2.30.2